import 'package:fish_redux/fish_redux.dart';
import '../../../app_files.dart';
import 'package:flutter/material.dart';

class PatrolReasonViewState implements Cloneable<PatrolReasonViewState> {
  PatrolOrderItemModel info;
  TextEditingController textEditingController = TextEditingController();
  List orderPhoto = [];

  @override
  PatrolReasonViewState clone() {
    return PatrolReasonViewState()
      ..textEditingController = textEditingController
      ..orderPhoto = orderPhoto
      ..info = info;
  }
}

PatrolReasonViewState initState(Map<String, dynamic> args) {
  return PatrolReasonViewState()..info = args['info'];
}
